package com.sso;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author yanggld
 * @Date 2020/3/6-10:56
 */
@Controller
@SpringBootApplication
public class SsoApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(SsoApplication.class).run(args);
    }

    @RequestMapping("/index")
    public String index(Model model) {
        return "index";
    }
}
